﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestLog
{
    class Program
    {
        static void Main(string[] args)
        {
            CPPEI.Logger.InitByLogDirectory(string.Format("{0}\\{1}\\", AppDomain.CurrentDomain.BaseDirectory, "logs"));

            for(int index = 0; index < 5; index++)
            {
                CPPEI.Logger.Debug("message at {0}", index);
                CPPEI.Logger.DebugToTag("Console", "message at {0}", index);
            }

            Console.WriteLine("press any key exit...");
            Console.ReadKey();
        }
    }
}
